<!-- Check for Zepto support, load jQuery if necessary -->
<script>
  document.write('<script src=js/lib/vendor/'
    + ('__proto__' in {} ? 'zepto' : 'jquery')
    + '.js><\/script>');
</script>
<script src="js/lib/foundation.min.js"></script>
<script>
  $(document).foundation();
</script>
</body>
</html>